package org.geektime.task.automybatis.dao.impl;

import org.geektime.task.automybatis.dao.IUserDao;
import org.geektime.task.automybatis.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class UserDao extends BaseDao<User> implements IUserDao {

    public List<User> getUserList() {

        return getSession().selectList("userBean.getUserList");

    }
}
